<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('订单号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea 
             id="code" data-rule="required" class="form-control" rows="5" name="row[code]" cols="10"></textarea>
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('课程id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number"  id="subjectid" class="status form-control" name="subjectid" > 
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('订单金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" id="total" class="total form-control" name="total" > 
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('支付方式')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" id="pay" placeholder="money:余额支付;zfb:支付宝;wx:微信支付" class="pay form-control" name="pay" > 
        </div>

    </div>

    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="button" class="btn btn-default btn-embossed btn-close">{:__('Close')}</button>
        </div>
    </div>
</form>